﻿using System;
using System.Collections.Generic;
//using System.Linq;
using System.Text;

namespace ComToKey
{
    public enum AnyliseState
    {
        AnyliseAccept = 0,
        AnyliseReject = 1,
        AnyliseWaiting = 2,
    }
    public class DelType
    {
        public AnyliseState state;
        public int del_len;

        public DelType()
        {
            state = AnyliseState.AnyliseWaiting;
            del_len = 0;
        }
    }
    public class CMDType
    {
        public byte Data1;
        public byte Data2;
        public byte Data3;
        public byte Data4;
        public byte Data5;
        public byte Data6;

        public byte Data;

        public const int CMD_Length = 8;
        public CMDType()
        {
            Data1 = 0;
            Data2 = 0;
            Data3 = 0;
            Data4 = 0;
            Data5 = 0;
            Data6 = 0;

            Data = 0;
        }
    }
}
